pow.webserver
Class Log

java.lang.Object
  extended by pow.webserver.Log

public class Log
extends java.lang.Object

Handles the writing of a log in a file

Since:
V1
Author:
from V1

Constructor Summary
Log(java.lang.String path)
          create a log file into the log floder of the web application
 
Method Summary
 void write(java.lang.String writing)
          write a string in log file and on stdout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log

public Log(java.lang.String path)
create a log file into the log floder of the web application

Parameters:
path - the complete path of the web application
Method Detail

write

public void write(java.lang.String writing)
write a string in log file and on stdout

Parameters:
writing - the string to write in the log file